package pl.kosmowska.ewelina.client.app.activity.places;

import com.google.gwt.place.shared.Place;
import com.google.gwt.place.shared.PlaceTokenizer;
import com.google.gwt.place.shared.Prefix;
import com.google.web.bindery.requestfactory.shared.RequestFactory;

public class IncomeOutcomePlace extends Place {


	@Prefix("Transakcje")
	public static class Tokenizer implements PlaceTokenizer<IncomeOutcomePlace> {

		private RequestFactory requestFactory;


		public Tokenizer(RequestFactory requestFactory) {
			this.requestFactory = requestFactory;
		}

		@Override
		public String getToken(IncomeOutcomePlace place) {
			String token = place.getToken();
			return "";
		}

		@Override
		public IncomeOutcomePlace getPlace(String token) {
			return new IncomeOutcomePlace();
		}

	}



	private String token;



	public IncomeOutcomePlace() {

	}

	public String getToken() {
		return token;
	}


}
